// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;

  .el-dialog__header {
    padding: 10px 20px;
  }

  .el-dialog__headerbtn {
    top: 10px;
  }

  .el-dialog__body {
    padding: 12px;
  }

  .el-dialog__footer {
    padding: 8px 15px;
    border-top: 1px solid #efefef;
  }

  .el-select {
    width: 100%;
  }

  .el-input__icon {
    height: auto;
  }

  .el-dialog__header {
    background: rgba(48, 65, 86, 0.8);
    border-bottom: 1px solid #ddd;

    .el-dialog__title {
      font-size: 14px;
      line-height: 14px;
      color: #f4f4f5;
    }
  }

  .el-dialog__headerbtn .el-dialog__close {
    color: #f4f4f5;
  }

  .el-dialog__headerbtn .el-dialog__close:hover {
    color: #000;
  }
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

.el-dropdown-menu--medium .el-dropdown-menu__item {
  min-width: 110px;
  font-size: 12px;
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}


/******************************************************  按钮  ******************************************************/

.el-button--mini {
  padding: 5px 10px;
  height: 25px;

  .iconfont {
    font-size: 12px;
  }
  
  svg.svg-icon {
    height: 1em;
    width: 1em;
    position: relative;
    top: 1px;
    vertical-align: unset;
    margin-right: 3px;
  }
}

/******************************************************  表单样式  ******************************************************/
.el-form {
  .el-form-item.el-form-item--mini {
    margin-bottom: 12px;
    .el-form-item__label {
      font-size: 14px;
      font-weight: unset;
    }

    .el-form-item__content {
       font-size: 12px;
      .el-input__inner{
        //line-height: 32px;
        //height: 32px;
      }
    }
  }
  .el-form-item:last-child {
    margin-bottom: 0px;
  }
}

//如果Label文字在上方则不要下padding 
.el-form.el-form--label-top {
  .el-form-item.el-form-item--mini {
    .el-form-item__label {
      padding-bottom: 0;
    }
  }
}

/******************************************************  input  ******************************************************/
.el-input--mini {
  .el-input__inner{
    border-radius: 2px;
  }
  .el-input__suffix {
    height: auto;
    right: 7px;
    cursor: pointer;

    .el-input__suffix-inner>.svg-icon {
      transform: translate(-5px, 2px)
    }
  }
}

/******************************************************  checkbox  ******************************************************/
label.el-checkbox.el-checkbox--mini.is-bordered{
  height: 25px;
  margin-right:0px;
  .el-checkbox__label{
    padding-left: 5px;
  }
}

/******************************************************  布局、栅格系统之类  ******************************************************/
.el-row {
  margin-bottom: 6px;
}

/******************************************************  tabs页签  ******************************************************/
.el-tabs {
  .el-tabs__header {
    margin-bottom: 8px;
    padding-left: 8px;
  }

  .el-tabs__item {
    height: 30px;
    line-height: 30px;
  }

  .el-tabs__content {
    padding: 8px;
  }
}



//大屏特定样式
.screen-popper .el-menu--popup {
  padding: 15px !important;
  margin-left: 0px !important;
  width: 348px;
  overflow-y: visible;
  color: #fff;
  border: 1px solid #888;
}
